<?php
/**
 * Created by PhpStorm.
 * User: zhangyi
 * Date: 17/3/11
 * Time: 下午12:00
 */
namespace backend\controllers;

use app\models\Singlepage;
use Yii;

class ConsumerController extends BaseInterfaceController
{
    public function actionService()
    {
        $model = Singlepage::findOne(Singlepage::PAGE_SERVICE);
        $this->content = array(
            'detail'=>$this->safe($model->content),
        );
        return $this->outputJson();
    }
}